﻿using DevExpress.Mvvm;
using DevExpress.Mvvm.Native;
using PlaceOrder_Core.PlaceOrderModels;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlaceOrder_Client.ViewModels
{
    public class DefaultTradingVolumeViewModel:BindableBase
    {

        #region 依赖属性
        /// <summary>
        /// 个人交易量
        /// </summary>
        private ObservableCollection<UserTradeVolumeConfig> volumeConfigs;

        public ObservableCollection<UserTradeVolumeConfig> VolumeConfigs
        {
            get { return volumeConfigs; }
            set { volumeConfigs = value; RaisePropertiesChanged(); }
        }

        #endregion
        public DefaultTradingVolumeViewModel()
        {
             this.VolumeConfigs = OrderListViewModel.VolumeConfigs.ToObservableCollection();
        }
    }
}
